import request from "@/utils/request";

export const apiGenerateCertificate = (certificateId, examId, courseId) => {
  return request.get(`/certificate/generateCertificate?certificateId=${certificateId}&examId=${examId}&courseId=${courseId}`);
};


export const apiGetUserCertificate = (certificateId, examId, courseId) => {
  return request.get(`/certificate/getUserCertificate?certificateId=${certificateId}&examId=${examId}&courseId=${courseId}`);
};


export const apiGetUserCertificateList = (params) => {
  return request.post(`/certificate/getUserCertificateList`, params);
};
